package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * siteproject
 * @author 
 */
@Data
public class Siteproject implements Serializable {
    private Integer id;

    private String projectname;

    private Integer routeid;

    private String projectcycle;

    private String dateradius;

    private String timeradius;

    private Integer producer;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime settime;

    private Integer state;

    private Integer users;

    private Integer signtype;

    private Integer bujian;

    private Integer plotid;

    private static final long serialVersionUID = 1L;



    //封装
    private Siteroute siteroute;

    private Sitepoint sitepoint;

    private User user;

    public List<Sitepoint> sitepointList;
}